#include "dpShared.h"

#define dpScreenWidth 320
#define dpScreenHeight 240

typedef unsigned int dpPixel;

typedef struct dpGraphics_t dpGraphics;

dpGraphics* dpInitializeGraphics(HWND windowHandle, uint width, uint height);

void dpShutdownGraphics(dpGraphics* graphics);

void dpResize(dpGraphics* graphics, uint width, uint height);

void dpUpload(dpGraphics* graphics, dpPixel* buffer);

void dpRender(dpGraphics* graphics);
